const express = require('express')
const app = express()
const multer = require('multer')


const upload = multer()
app.use(upload.any())  // 这种方式是错误的 会导致冲突multer github已说明
app.post('/login', (req, res, next) => {
  console.log(req.body)
  res.end('登陆成功')
})
app.listen(8000, () => {
  console.log('服务器启动成功')
})